stylecontext: Use right invalidation func
authorBenjamin Otte <otte@redhat.com>
Tue, 19 Aug 2014 14:31:06 +0000 (16:31 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 20 Aug 2014 22:54:07 +0000 (00:54 +0200)
gtk_style_context_invalidate_internal() will respect only the current
saved state of the style context, which is wrong when updating the scale.
In that case, the whole style context needs updating.

gtk/gtkstylecontext.c

index 47e427651207cb4cbab0a36d41d9c93eb19143cb..98085570567ab2c2f0dd7897cb01676fa69748fe 100644 (file)
@@ -1323,7 +1323,7 @@ gtk_style_context_set_scale (GtkStyleContext *context,
 
   context->priv->scale = scale;
 
-  gtk_style_context_queue_invalidate_internal (context, GTK_CSS_CHANGE_SOURCE);
+  _gtk_style_context_queue_invalidate (context, GTK_CSS_CHANGE_SOURCE);
 }
 
 /**